<template>
     <div class="app">
          <router-view v-if="isRouter" />
     </div>
</template>

<script setup lang="ts">
import { nextTick, provide, ref } from 'vue'
const isRouter = ref(true)
const reload = () => {
     isRouter.value = false
     nextTick(() => {
          isRouter.value = true
     })
}
provide('reload', reload)
</script>

<style scoped lang="scss"></style>
